﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Icst.Leaflike.Data;

namespace Icst.Leaflike.Web
{
    public partial class tree : Page
    {
        protected tree_getinfoResult _result;
        protected Dictionary<string,List<string>> _links;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int tree = !string.IsNullOrEmpty(Request["id"]) ? int.Parse(Request["id"]) : -1;
                _result = Tree.Instance.Getinfo(tree);
                _links = _result.Links;
            }
        }
    }
}
